package com.biostime.qdingding.modules.qd.entity;

import java.util.Date;
import java.util.List;

import com.biostime.qdingding.common.persistence.DataEntity;
import com.google.common.collect.Lists;

/**
 * 评论Entity
 * @author king
 * @version 2015-11-05
 */
public class Comment extends DataEntity<Comment> {

	private static final long serialVersionUID = 1L;
	
	private String category;// 分类
	private Integer objectId;// 评论关联对象编号
	private Double score;// 总评分
	private Double score1;//评分1
	private Double score2;//评分2
	private Double score3;//评分3
	private String content;// 内容
	private Integer replyId;// 评论人
	private String replyName;// 评论人名字
	private String fromIp;// 来源IP
	private Integer parentId;// 父级评论ID
	private Integer isAudit;//是否审核通过
	
	private String objectName; //主体名称
	private Member member;// 会员
	private Center center;// 中心
	private List<Album> albums = Lists.newArrayList();// 相册

	private Date startOn;//查询用 起始时间 
	private Date endOn;//查询用 结束时间
    
	public Comment(String id) {
		super(id);
	}
 
	public Comment() {
		super();
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	
	public Integer getObjectId() {
		return objectId;
	}

	public void setObjectId(Integer objectId) {
		this.objectId = objectId;
	}
	
	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public Integer getReplyId() {
		return replyId;
	}

	public void setReplyId(Integer replyId) {
		this.replyId = replyId;
	}
	
	public String getReplyName() {
		return replyName;
	}

	public void setReplyName(String replyName) {
		this.replyName = replyName;
	}
	
	public String getFromIp() {
		return fromIp;
	}

	public void setFromIp(String fromIp) {
		this.fromIp = fromIp;
	}
	
	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	
	public Double getScore1() {
		return score1;
	}

	public void setScore1(Double score1) {
		this.score1 = score1;
	}

	public Double getScore2() {
		return score2;
	}

	public void setScore2(Double score2) {
		this.score2 = score2;
	}

	public Double getScore3() {
		return score3;
	}

	public void setScore3(Double score3) {
		this.score3 = score3;
	}

	public Integer getIsAudit() {
		return isAudit;
	}

	public void setIsAudit(Integer isAudit) {
		this.isAudit = isAudit;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public List<Album> getAlbums() {
		return albums;
	}

	public void setAlbums(List<Album> albums) {
		this.albums = albums;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}

	public String getObjectName() {
		return objectName;
	}

	public void setObjectName(String objectName) {
		this.objectName = objectName;
	}

	public Date getStartOn() {
		return startOn;
	}

	public void setStartOn(Date startOn) {
		this.startOn = startOn;
	}

	public Date getEndOn() {
		return endOn;
	}

	public void setEndOn(Date endOn) {
		this.endOn = endOn;
	}
	
}